import React from "react"
import {
    HashRouter,
    Switch,
    Route
}from "react-router-dom"
import Home from "./com/home"
import Sign from "./com/Sign"
import Register from "./com/register"

class Router extends React.Component{
    render (){
        return (
            <HashRouter>
                <Switch>
                    <Route path="/register" component={Register}></Route>
                    <Route path="/Sign" component={Sign}></Route>
                    <Route path="/" component={Home}></Route>
                </Switch>
            </HashRouter>
        )
    }
}

export default Router